package com.zmc.member.infrastructure.dao;

import com.zmc.member.infrastructure.entity.MemberAuthUsernameEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 会员用户名登录认证
 * 
 * @author zmc
 * @email 
 * @date 2025-05-26 18:11:10
 */
@Mapper
public interface MemberAuthUsernameDao extends BaseMapper<MemberAuthUsernameEntity> {

    @Delete("delete from ums_member_auth_username where username = #{username}")
    void removeByUsername(@Param("username") String username);
}
